package com.xujianlun.cpms.service.sys;

import cn.hutool.core.date.DateTime;
import com.xujianlun.cpms.entity.sys.Validation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 邮箱验证码 服务类
 * </p>
 *
 * @author xujianlun
 * @since 2022-12-06
 */
public interface IValidationService extends IService<Validation> {

    void saveCode(String email, String code, Integer type, DateTime offsetMinute);
}
